package com.example.pojo.user;

import lombok.ToString;

@ToString
public class UserRole {
    private Integer id;

    private String name;

    private String uuid;

    private String role;

    public UserRole(Integer id, String name, String uuid, String role) {
        this.id = id;
        this.name = name;
        this.uuid = uuid;
        this.role = role;
    }

    public UserRole() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid == null ? null : uuid.trim();
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role == null ? null : role.trim();
    }
}